package com.suse.service.community.service;

import com.suse.service.community.entity.Comment;

import java.util.List;

/**
 * <p>
 * 评论业务接口
 * </p>
 *
 * @author 辜玉彬
 * @since 2022-08-31 20:27
 */
public interface CommentService {

    List<Comment> getListByEntity(int entityType, int entityId, int offset, int limit);

    int getTotalByEntity(int entityType, int entityId);

    boolean save(Comment comment);

}
